package com.lesso.yjy.sunflower.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalTime;

@Data
public class AttendanceRuleVO implements Serializable {
    private static final long serialVersionUID = 20250705L;

    private Long id;

    private String ruleName;

    private String ruleCode;

    private LocalTime workStartTime;

    private LocalTime workEndTime;

    private Integer lateThreshold;

    private Integer earlyThreshold;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
